﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace Dune2013
{
    public class TextManager
    {
        public List<Text> texts = new List<Text>();
        public static TextManager instance;
        public static TextManager getInstance() {
            if (instance == null) instance = new TextManager();
            return instance;
        }
        public void draw(SpriteBatch sb)
        {
            foreach (Text text in texts)
            {
                text.Draw(sb);
            }
        }
    }
}
